package com.jxtc.enterprise.hr.vo;

import com.jxtc.enterprise.admin.vo.AdminCompanyImageVO;
import com.jxtc.enterprise.common.vo.CompanyVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Schema(description = "HR 端公司配置页面展示信息")
@Getter
@Setter
@ToString
public class CompanyDetailVO extends CompanyVO {

    @Schema(description = "公司地址", example = "南山区 xxx 园区 xx 栋 15 楼 1508")
    private String address;

    @Schema(description = "部门信息")
    private List<DepartmentVO> departments;

    @Schema(description = "是否开启自动充值", example = "false")
    private Boolean autoRecharge;

    @Schema(description = "低于多少自动充值", example = "20")
    private Integer threshold;

    @Schema(description = "自动充值的金额", example = "100")
    private Integer amount;

    @Schema(description = "HR 登录密码", example = "123456")
    private String password;

    @Schema(description = "是否已经停止供餐（停止供餐时该值为 true）", example = "false")
    private Boolean stopFlag;

    @Schema(description = "公司图片链接")
    private AdminCompanyImageVO images;

    @Schema(description = "公司选择了那些时段的餐")
    private List<MealConfigVO> mealTypes;

    /**
     * 是否显示客户餐
     */
    private boolean showVipUserFoodBtn = false;
}
